package com.hivekion.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hivekion.common.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_role_permission")
@TableComment("角色菜单权限关联表")
public class SysRolePermission extends BaseEntity implements Serializable {
      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 80)
      @ColumnComment("角色关联关系")
      private String roleId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 80)
      @ColumnComment("菜单关联关系")
      private String menuId;
}
